// xc/components/diy/xcdiybananer.js
var behaviorsbasic = require('../../behavior/basic') 
Component({
  behaviors: [behaviorsbasic],
  options: {

    addGlobalClass: true,
    multipleSlots: true
  },
  /**
   * 组件的属性列表
   */
  properties: {
    objmodel: {
      type: Object,
      default: ''
    }, 
  },

  /**
   * 组件的初始数据
   */
  data: {
    current:0,
  },

  /**
   * 组件的方法列表
   */
  ready(){
    
 
  },
  methods: {
    diynavigateTox:function(ev){
      this.diynavigateTo(ev);
    
      return ;
    
     // this._navigateTo("xxx")

    },
    swiperchange:function(ev){
      this.setData({current:ev.detail.current})  

    }
  }
})
